package guoanmaker.operator.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;


import guoanmaker.operator.business.model.OperatorNaviga;

public interface OperatorNavigaRepository extends JpaRepository<OperatorNaviga, String>,JpaSpecificationExecutor<OperatorNaviga> {
	@Query("select u from OperatorNaviga u  where u.cityCode=:cityCode")
	public OperatorNaviga findBycityCode(@Param("cityCode") String cityCode);
}
